package qsort;

public class RecordAndListID implements Comparable<RecordAndListID>{
	Record record; 
	int listID;
	public Record getRecord() {
		return record;
	}
	public void setRecord(Record record) {
		this.record = record;
	}
	public int getListID() {
		return listID;
	}
	public void setListID(int listID) {
		this.listID = listID;
	}
	public RecordAndListID(Record record, int listID) {
		super();
		this.record = record;
		this.listID = listID;
	}
	public int compareTo(RecordAndListID other) {
		return this.record.compareTo(other.getRecord());
	} 
	
}
